<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    var a=9,b=2;                 
    console.log(a<<b);             // 输出结果：36

    var a=-9,b=2;                  
    console.log(a>>b);             // 输出结果：-3

    var a=-9,b=2;                
    console.log(a>>>b);             // 输出结果：-3

    var  a=3,b=9;                  
    console.log(a&=b);             // 输出结果：-3

    var a=3,b=9;                  
    console.log(a^=b);             // 输出结果：-3

    var a=3,b=9;                  
    console.log(a|=b);             // 输出结果：-3
   
  </script>
  
</body>
</html>